home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_12023.txt < prev    next >
Text File  |  1990-10-02  |  6KB  |  256 lines

  1. -- card: 12023 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 12147
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   send cardOpened to background
  9. end openCard
  10.  
  11. on move
  12.   global direction,chase,blasting
  13.   if direction = "east" or direction = "up" then
  14.     go card id 33443
  15.     exit move
  16.   end if
  17.   pass move
  18. end move
  19.  
  20.  
  21. on closeCard
  22.   set the cursor to 4
  23.   put "" into field 3
  24. end closeCard
  25.  
  26. on take
  27.   global object,carried
  28.   -- remember to update carried if you do not pass take
  29.   pass take
  30. end take
  31.  
  32. on drop
  33.   global object,dropRoom,carried
  34.   -- remember to update carried if you do not pass drop
  35.   pass drop
  36. end drop
  37.  
  38. on use
  39.   global object,carried
  40.   -- update carried if use results in loss of object
  41.   pass use
  42. end use
  43.  
  44.  
  45.  
  46.  
  47.  
  48. -- part 16 (button)
  49. -- low flags: 80
  50. -- high flags: 2000
  51. -- rect: left=122 top=230 right=266 bottom=156
  52. -- title width / last selected line: 0
  53. -- icon id / first selected line: 9301 / 9301
  54. -- text alignment: 1
  55. -- font id: 0
  56. -- text size: 12
  57. -- style flags: 0
  58. -- line height: 16
  59. -- part name: knife
  60. ----- HyperTalk script -----
  61. on mouseUp
  62.   global takeFlag,examFlag,object,cardID
  63.   put the name of the target into object
  64.   if takeFlag = true
  65.   then send take to card id cardID
  66. else put "a knife" into field 3
  67. put false into examFlag
  68. end mouseUp
  69.  
  70.  
  71.  
  72. -- part 17 (button)
  73. -- low flags: 80
  74. -- high flags: 2000
  75. -- rect: left=89 top=195 right=231 bottom=123
  76. -- title width / last selected line: 0
  77. -- icon id / first selected line: 1015 / 1015
  78. -- text alignment: 1
  79. -- font id: 0
  80. -- text size: 12
  81. -- style flags: 0
  82. -- line height: 16
  83. -- part name: nodule
  84. ----- HyperTalk script -----
  85. on mouseUp
  86.   global takeFlag,examFlag,object,cardID
  87.   put the name of the target into object
  88.   if takeFlag = true
  89.   then send take to card id cardID
  90. else put "a silicon sphere" into field 3
  91. put false into examFlag
  92. end mouseUp
  93.  
  94.  
  95.  
  96. -- part 18 (button)
  97. -- low flags: 80
  98. -- high flags: 2000
  99. -- rect: left=122 top=195 right=231 bottom=156
  100. -- title width / last selected line: 0
  101. -- icon id / first selected line: 14953 / 14953
  102. -- text alignment: 1
  103. -- font id: 0
  104. -- text size: 12
  105. -- style flags: 0
  106. -- line height: 16
  107. -- part name: ladder
  108. ----- HyperTalk script -----
  109. on mouseUp
  110.   global takeFlag,examFlag,object,cardID
  111.   put the name of the target into object
  112.   if takeFlag = true
  113.   then send take to card id cardID
  114. else put "a rope ladder" into field 3
  115. put false into examFlag
  116. end mouseUp
  117.  
  118.  
  119.  
  120. -- part 19 (button)
  121. -- low flags: 80
  122. -- high flags: 2000
  123. -- rect: left=178 top=121 right=157 bottom=212
  124. -- title width / last selected line: 0
  125. -- icon id / first selected line: 1019 / 1019
  126. -- text alignment: 1
  127. -- font id: 0
  128. -- text size: 12
  129. -- style flags: 0
  130. -- line height: 16
  131. -- part name: bomb
  132. ----- HyperTalk script -----
  133. on mouseUp
  134.   global takeFlag,examFlag,object,cardID
  135.   put the name of the target into object
  136.   if takeFlag = true
  137.   then send take to card id cardID
  138. else put "a time bomb" into field 3
  139. put false into examFlag
  140. end mouseUp
  141.  
  142.  
  143.  
  144. -- part 20 (button)
  145. -- low flags: 80
  146. -- high flags: 2000
  147. -- rect: left=89 top=160 right=196 bottom=123
  148. -- title width / last selected line: 0
  149. -- icon id / first selected line: 24317 / 24317
  150. -- text alignment: 1
  151. -- font id: 0
  152. -- text size: 12
  153. -- style flags: 0
  154. -- line height: 16
  155. -- part name: key
  156. ----- HyperTalk script -----
  157. on mouseUp
  158.   global takeFlag,examFlag,object,cardID
  159.   put the name of the target into object
  160.   if takeFlag = true
  161.   then send take to card id cardID
  162. else put "a key" into field 3
  163. put false into examFlag
  164. end mouseUp
  165.  
  166.  
  167.  
  168. -- part 21 (button)
  169. -- low flags: 80
  170. -- high flags: 2000
  171. -- rect: left=161 top=212 right=248 bottom=195
  172. -- title width / last selected line: 0
  173. -- icon id / first selected line: 7012 / 7012
  174. -- text alignment: 1
  175. -- font id: 0
  176. -- text size: 12
  177. -- style flags: 0
  178. -- line height: 16
  179. -- part name: gem
  180. ----- HyperTalk script -----
  181. on mouseUp
  182.   global takeFlag,examFlag,object,cardID
  183.   put the name of the target into object
  184.   if takeFlag = true
  185.   then send take to card id cardID
  186. else put "a glowing gem" into field 3
  187. put false into examFlag
  188. end mouseUp
  189.  
  190.  
  191.  
  192. -- part 23 (button)
  193. -- low flags: 00
  194. -- high flags: 0000
  195. -- rect: left=21 top=140 right=214 bottom=49
  196. -- title width / last selected line: 0
  197. -- icon id / first selected line: 0 / 0
  198. -- text alignment: 1
  199. -- font id: 0
  200. -- text size: 12
  201. -- style flags: 0
  202. -- line height: 16
  203. -- part name: 
  204. ----- HyperTalk script -----
  205. on mouseUp
  206.   global examFlag,direction,cardID
  207.   if examFlag then
  208.     put "a tunnel leading upward to the east." into field 3
  209.     put false into examFlag
  210.   else
  211.     put "east" into direction
  212.     send move to card id cardID
  213.   end if
  214. end mouseUp
  215.  
  216.  
  217.  
  218. -- part 41 (button)
  219. -- low flags: 00
  220. -- high flags: 0000
  221. -- rect: left=153 top=31 right=120 bottom=239
  222. -- title width / last selected line: 0
  223. -- icon id / first selected line: 0 / 0
  224. -- text alignment: 1
  225. -- font id: 0
  226. -- text size: 12
  227. -- style flags: 0
  228. -- line height: 16
  229. -- part name: 
  230. ----- HyperTalk script -----
  231. on mouseUp
  232.   global examFlag,takeFlag,direction,cardID
  233.   if takeFlag then
  234.     put "Take the wall??  Get real." into field 3
  235.     put false into takeFlag
  236.   else
  237.     put "A magnificent orange flowstone wall.  You distinctly hear the sound of a howling wind on the other side of the wall." into field 3
  238.     put false into examFlag
  239.   end if
  240. end mouseUp
  241.  
  242.  
  243.  
  244. -- part contents for background part 25
  245. ----- text -----
  246. Flowstone Room
  247. (looking south)
  248.  
  249. -- part contents for background part 24
  250. ----- text -----
  251. You are in an odd shaped room with wonderful flowstone formations on all of the walls.  The south wall is particularly impressive, being made up of a large sheet of orange flowstone.  You can faintly hear a whistling noise through the wall.  A tunnel slants upward to the east.
  252.  
  253.  
  254. -- part contents for background part 36
  255. ----- text -----
  256. 1